#include "opencv2/opencv.hpp" 
#include <vector>


int main(void){
    cv::Mat img = cv::imread("../data/river1-180.jpg");
    std::vector<cv::KeyPoint> kpts;
    cv::FAST(img, kpts, 75);
    cv::Mat imgKpts;
    cv::drawKeypoints(img, kpts, imgKpts, cv::Scalar::all(-1), cv::DrawMatchesFlags::DEFAULT);
    cv::imshow("kerpoints", imgKpts);
    cv::imwrite("fast1.jpg", imgKpts);
    cv::waitKey(0);
    return 0;
}
